let i = 5
function log() {
  console.log(i)
  i--
  if (i > 0) {
    log(i)
  }
}

log()
